package functions;
import main.ContingencyTable;


public class CosineFunction extends GeneralFunction {

	public CosineFunction(String name) {
		super(name);
	}

	@Override
	public double calculate(ContingencyTable t) {
		return t.f11() / (Math.sqrt(t.f1p() * t.fp1()));
	}

}
